package com.cloud.bssp.admin.role.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * Description: 
 * Create Date: 2021-09-15T14:42:18.521
 * Modified By：<br>
 * Modified Date：<br>
 * Why & What is modified：<br>
 *
 * @author weirx
 * @version 1.0
 */
@Data
@TableName(value = "bssp_role_menu")
public class RoleMenuDO {

        /**
         * 
         */
        @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        /**
         * 角色id
         */
    private Long roleId;

        /**
         * 菜单id
         */
    private Long menuId;

        /**
         * 删除标记，1是0否
         */
    private Integer isDelete;

        /**
         * 创建人id
         */
    private Long createUser;

        /**
         * 创建时间
         */
        @TableField(fill = FieldFill.INSERT)
        @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

        /**
         * 更新人id
         */
    private Long updateUser;

        /**
         * 更新时间
         */
        @TableField(fill = FieldFill.INSERT_UPDATE)
        @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
